package com.group6.exam.manager.service;

import java.util.List;
import java.util.Map;

import com.group6.exam.common.entity.PageModel;
import com.group6.exam.common.entity.UserInfoEntity;

public interface IManagerService {

	public boolean login(UserInfoEntity user);

	// 查询登录者的主菜单
	public List<Map<String, Object>> getMainMenus(String username);

	// 查询登录者的子菜单
	public List<Map<String, Object>> getChildMenus(String username);

	public int addUser(UserInfoEntity user);

	public List<Map<String, Object>> getUserInfo();

	public int deleteUserbyId(String userId);

	public Map<String, Object> getUserInfoById(String userId);

	public int updateUserbyId(UserInfoEntity user);

	public PageModel check(PageModel pageModel);

}
